home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 January
/
PCWorld_2005-01_cd.bin
/
software
/
topware
/
winamp
/
winamp507_full.exe
/
$R0
/
Winamp Modern
/
crossfade.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2004-07-01
|
2KB
|
61 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Group Group16;
Global Slider Slider17;
Global Text Text18;
Global Button Button19;
Global Button Button20;
Global ToggleButton ToggleButton21;
Global Layer Layer22;
System.onScriptLoaded()
{
Group16 = System.getScriptGroup();
Slider17 = Group16.findObject(( "sCrossfade"));
Text18 = Group16.findObject(( "CFDisplay"));
Button19 = Group16.findObject(( "CrossfadeIncrease"));
Button20 = Group16.findObject(( "CrossfadeDecrease"));
ToggleButton21 = Group16.findObject(( "Crossfade"));
Layer22 = Group16.findObject(( "crossfade\.display\.overlay"));
Slider17.onSetPosition(Slider17.getPosition());
if(ToggleButton21.getActivated()) {
Layer22.hide();
}
return Null;
}
Slider17.onSetPosition(int newpos)
{
String String30;
String30 = System.integerToString(newpos);
Text18.setText(String30);
return Null;
}
Button19.onLeftClick()
{
Slider17.setPosition(( Slider17.getPosition() + 1));
return Null;
}
Button20.onLeftClick()
{
Slider17.setPosition(( Slider17.getPosition() - 1));
return Null;
}
ToggleButton21.onToggle(Boolean onoff)
{
if(onoff) {
Layer22.hide();
} else {
Layer22.show();
}
return Null;
}